<?php
$u = ['id' => 88, 'name' => '张三丰'];
echo '<pre>';
print_r($u);

$json = json_encode($u, JSON_UNESCAPED_UNICODE);
// $json = json_encode($u);
echo $json;

$u_obj = json_decode($json);
var_dump($u_obj);

$u_arr = json_decode($json, true);
var_dump($u_arr);